﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.XtraGrid.Views.Grid;

namespace MicropleSoft.Controls.Util
{
    public static class XGridControlStyle
    {
        public static void SetXGridControlStyle(XGridControl xGridControl)
        {
            ((GridView) xGridControl.MainView).GroupPanelText = "";
        }

        public static void SetXGridControlsStyle(params XGridControl[] xGridControls)
        {
            foreach (var xGridControl in xGridControls)
            {
                ((GridView)xGridControl.MainView).GroupPanelText = "";
            }
        }
    }
}
